package com.springboot.service;

import com.springboot.dto.PatientChatIndex;
import com.springboot.model.ChatRecord;

import java.util.ArrayList;

public interface PatientChatService {
    //根据患者Id显示聊天列表
    public  ArrayList<PatientChatIndex> showChatIndex(Integer patientId);

    //根据患者ID和医生ID显示聊天信息
    public ArrayList<PatientChatIndex> showPatientChatInfoByTwoId(Integer patientId,Integer doctorId);

    //患者端添加患者和医生的某条聊天信息
    public int insertChatInfoByChatRecord(ChatRecord chatRecord);

    //患者删除某医生的聊天记录
    public int deleteChatInfo(Integer patientId,Integer doctorId);
}
